RaisingLight.Framework.Controls.Button = RaisingLight.Framework.Controls.Control.extend(
{
    constructor: function()
    {
        this.base();
    },
    OnRender: function(drawingContext)
    {
         drawingContext.DrawRectangle(this.Brush, this.Pen, new RaisingLight.Framework.Rect(this.Location, this.Size));
		 drawingContext.DrawText(new RaisingLight.Framework.FormattedText(this.Text), new RaisingLight.Framework.Point(this.Location.X, this.Location.Y + this.Size.Height));
    }
});
